home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / telecomm / sticpsrc.lzh / DOC / SETTINGS.ARC / SETTINGS.TXT
Text File  |  1990-06-03  |  20KB  |  381 lines

  1.  
  2. _✓1.  _✓S_✓e_✓t_✓t_✓i_✓n_✓g _✓B_✓u_✓f_✓s_✓i_✓z_✓e, _✓P_✓a_✓c_✓l_✓e_✓n, _✓M_✓a_✓x_✓f_✓r_✓a_✓m_✓e, _✓M_✓T_✓U, _✓M_✓S_✓S _✓a_✓n_✓d _✓W_✓i_✓n_✓d_✓o_✓w
  3.  
  4. Many NET users are confused by these parameters and  do  not
  5. know  how  to  set  them  properly.  This section will first
  6. review these parameters  and  then  discuss  how  to  choose
  7. values  for  them.  Special  emphasis  is  given to avoiding
  8. interoperability problems that may appear when communicating
  9. with non-NET implementations of AX.25.
  10.  
  11. _✓1._✓1.  _✓H_✓a_✓r_✓d_✓w_✓a_✓r_✓e _✓P_✓a_✓r_✓a_✓m_✓e_✓t_✓e_✓r_✓s
  12.  
  13. _✓1._✓1._✓1.  _✓B_✓u_✓f_✓s_✓i_✓z_✓e
  14.  
  15. This parameter is required by most of  NET's  built-in  HDLC
  16. drivers  (e.g.,  those for the DRSI PCPA and the Paccomm PC-
  17. 100). It specifies the size of the buffer  to  be  allocated
  18. for  each  receiver port. HDLC frames larger than this value
  19. cannot be received.
  20.  
  21. There is no default b✓b✓b✓bu✓u✓u✓uf✓f✓f✓fs✓s✓s✓si✓i✓i✓iz✓z✓z✓ze✓e✓e✓e; it must  be  specified  in  the
  22. a✓a✓a✓at✓t✓t✓tt✓t✓t✓ta✓a✓a✓ac✓c✓c✓ch✓h✓h✓h command for the interface.
  23.  
  24. _✓1._✓2.  _✓A_✓X_✓2_✓5 _✓P_✓a_✓r_✓a_✓m_✓e_✓t_✓e_✓r_✓s
  25.  
  26. _✓1._✓2._✓1.  _✓P_✓a_✓c_✓l_✓e_✓n
  27.  
  28. Paclen limits the size of the data  field  in  an  AX.25  I-
  29. frame. This value does _✓n_✓o_✓t include the AX.25 protocol header
  30. (source, destination and digipeater addresses).
  31.  
  32. Since unconnected-mode (datagram) AX.25 uses UI frames, this
  33. parameter has no effect in unconnected mode.
  34.  
  35. The default value of p✓p✓p✓pa✓a✓a✓ac✓c✓c✓cl✓l✓l✓le✓e✓e✓en✓n✓n✓n in NET is 256 bytes.
  36.  
  37. _✓1._✓2._✓2.  _✓M_✓a_✓x_✓f_✓r_✓a_✓m_✓e
  38.  
  39. This parameter controls the number of I-frames that NET  may
  40. send on an AX.25 connection before it must stop and wait for
  41. an acknowledgement.  Since the  AX.25/LAPB  sequence  number
  42. field is 3 bits wide, this number cannot be larger than 7.
  43.  
  44. Since unconnected-mode (datagram) AX.25 uses UI frames  that
  45. do  not have sequence numbers, this parameter does _✓n_✓o_✓t apply
  46. to unconnected mode.
  47.  
  48. The default value of m✓m✓m✓ma✓a✓a✓ax✓x✓x✓xf✓f✓f✓fr✓r✓r✓ra✓a✓a✓am✓m✓m✓me✓e✓e✓e in NET is 1 frame.
  49.  
  50. _✓1._✓3.  _✓I_✓P _✓a_✓n_✓d _✓T_✓C_✓P _✓P_✓a_✓r_✓a_✓m_✓e_✓t_✓e_✓r_✓s
  51.  
  52.                         June 3, 1990
  53.  
  54.                            - 2 -
  55.  
  56. _✓1._✓3._✓1.  _✓M_✓T_✓U
  57.  
  58. The MTU (Maximum Transmission Unit) is an interface  parame-
  59. ter  that limits the size of the largest IP datagram that it
  60. may handle.  IP datagrams routed to an  interface  that  are
  61. larger  than  its  MTU are each split into two or more _✓f_✓r_✓a_✓g_✓-
  62. _✓m_✓e_✓n_✓t_✓s.  Each fragment has its own IP header and  is  handled
  63. by  the  network  as  if it were a distinct IP datagram, but
  64. when it arrives at the destination it  is  held  by  the  IP
  65. layer until all of the other fragments belonging to the ori-
  66. ginal datagram have arrived. Then they are reassembled  back
  67. into the complete, original IP datagram. The minimum accept-
  68. able interface MTU is 28 bytes: 20 bytes for the  IP  (frag-
  69. ment) header, plus 8 bytes of data.
  70.  
  71. There is no default MTU in NET; it must be explicitly speci-
  72. fied for each interface as part of the a✓a✓a✓at✓t✓t✓tt✓t✓t✓ta✓a✓a✓ac✓c✓c✓ch✓h✓h✓h command.
  73.  
  74. _✓1._✓3._✓2.  _✓M_✓S_✓S
  75.  
  76. MSS (Maximum Segment Size) is  a  TCP-level  parameter  that
  77. limits the amount of data that the _✓r_✓e_✓m_✓o_✓t_✓e TCP will send in a
  78. single TCP packet. MSS values are exchanged in the SYN (con-
  79. nection  request) packets that open a TCP connection. In the
  80. NET implementation of TCP, the MSS actually used by  TCP  is
  81. further reduced in order to avoid fragmentation at the local
  82. IP interface. That is, the local TCP asks IP for the MTU  of
  83. the interface that will be used to reach the destination. It
  84. then subtracts 40 from the MTU value to allow for the  over-
  85. head  of  the TCP and IP headers. If the result is less than
  86. the MSS received from the remote TCP, it is used instead.
  87.  
  88. The default value of M✓M✓M✓MS✓S✓S✓SS✓S✓S✓S in NET is 512 bytes.
  89.  
  90. _✓1._✓3._✓3.  _✓W_✓i_✓n_✓d_✓o_✓w
  91.  
  92. This is a TCP-level parameter that controls  how  much  data
  93. the  local  TCP  will allow the remote TCP to send before it
  94. must stop and wait for an acknowledgement. The actual window
  95. value  used  by TCP when deciding how much more data to send
  96. is referred to as the _✓e_✓f_✓f_✓e_✓c_✓t_✓i_✓v_✓e _✓w_✓i_✓n_✓d_✓o_✓w.  This is the smaller
  97. of two values: the window advertised by the remote TCP minus
  98. the unacknowledged data in flight, and the  _✓c_✓o_✓n_✓g_✓e_✓s_✓t_✓i_✓o_✓n  _✓w_✓i_✓n_✓-
  99. _✓d_✓o_✓w,  an automatically computed time-varying estimate of how
  100. much data the network can handle.
  101.  
  102. The default value of W✓W✓W✓Wi✓i✓i✓in✓n✓n✓nd✓d✓d✓do✓o✓o✓ow✓w✓w✓w in NET is 2048 bytes.
  103.  
  104. _✓1._✓4.  _✓D_✓i_✓s_✓c_✓u_✓s_✓s_✓i_✓o_✓n
  105.  
  106.                         June 3, 1990
  107.  
  108.                            - 3 -
  109.  
  110. _✓1._✓4._✓1.  _✓I_✓P _✓F_✓r_✓a_✓g_✓m_✓e_✓n_✓t_✓a_✓t_✓i_✓o_✓n _✓v_✓s _✓A_✓X._✓2_✓5 _✓S_✓e_✓g_✓m_✓e_✓n_✓t_✓a_✓t_✓i_✓o_✓n
  111.  
  112. IP-level fragmentation often makes it possible to  intercon-
  113. nect  two  dissimilar networks, but it is best avoided when-
  114. ever possible.  One reason is that when a single IP fragment
  115. is  lost, all other fragments belonging to the same datagram
  116. are effectively also lost and the entire  datagram  must  be
  117. retransmitted  by  the source.  Even without loss, fragments
  118. require the allocation of temporary  buffer  memory  at  the
  119. destination, and it is never easy to decide how long to wait
  120. for missing fragments before giving up and discarding  those
  121. that have already arrived.  A reassembly timer controls this
  122. process.  In NET it is (re)initialized with  the  i✓i✓i✓ip✓p✓p✓p  r✓r✓r✓rt✓t✓t✓ti✓i✓i✓im✓m✓m✓me✓e✓e✓er✓r✓r✓r
  123. parameter  (default 30 seconds) whenever progress is made in
  124. reassembling a datagram (i.e., a new fragment is  received).
  125. It is not necessary that all of the fragments belonging to a
  126. datagram arrive within a single timeout interval, only  that
  127. the interval between fragments be less than the timeout.
  128.  
  129. Most subnetworks that carry IP have MTUs  of  576  bytes  or
  130. more,   so  interconnecting  them  with  subnetworks  having
  131. smaller values can result in considerable fragmentation. For
  132. this  reason,  IP implementors working with links or subnets
  133. having unusually small packet size limits are encouraged  to
  134. use _✓t_✓r_✓a_✓n_✓s_✓p_✓a_✓r_✓e_✓n_✓t _✓f_✓r_✓a_✓g_✓m_✓e_✓n_✓t_✓a_✓t_✓i_✓o_✓n, that is, to devise schemes to
  135. break up large IP datagrams into a sequence of link or  sub-
  136. net frames that are immediately reassembled on the other end
  137. of the link or subnet into the original, whole  IP  datagram
  138. without  the use of IP-level fragmentation. Such a scheme is
  139. provided in AX.25 Version 2.1.  It can break a large  IP  or
  140. NET/ROM  datagram  into  a series of p✓p✓p✓pa✓a✓a✓ac✓c✓c✓cl✓l✓l✓le✓e✓e✓en✓n✓n✓n-sized AX.25 seg-
  141. ments (not to be confused with TCP segments), one per  AX.25
  142. I-frame,  for transmission and reassemble them into a single
  143. datagram at the other end of the link before handing  it  up
  144. to  the  IP or NET/ROM module.  Unfortunately, the segmenta-
  145. tion procedure is a new feature in  AX.25  and  is  not  yet
  146. widely  implemented;  in  fact, NET is so far the only known
  147. implementation. This creates some interoperability  problems
  148. between  NET  and  non-NET  nodes,  in  particular, standard
  149. NET/ROM nodes being used to carry IP datagrams. This problem
  150. is discussed further in the section on setting the MTU.
  151.  
  152. _✓1._✓4._✓2.  _✓S_✓e_✓t_✓t_✓i_✓n_✓g _✓p_✓a_✓c_✓l_✓e_✓n _✓a_✓n_✓d _✓b_✓u_✓f_✓s_✓i_✓z_✓e
  153.  
  154. The more data you put into an AX.25 I frame, the smaller the
  155. AX.25  headers  are  in relation to the total frame size. In
  156. other words, by increasing p✓p✓p✓pa✓a✓a✓ac✓c✓c✓cl✓l✓l✓le✓e✓e✓en✓n✓n✓n, you lower the AX.25  pro-
  157. tocol overhead. Also, large data packets reduce the overhead
  158. of keying up a transmitter, and this  can  be  an  important
  159. factor  with  higher  speed modems. On the other hand, large
  160. frames make bigger targets for noise and interference.  Each
  161. link  has an optimum value of p✓p✓p✓pa✓a✓a✓ac✓c✓c✓cl✓l✓l✓le✓e✓e✓en✓n✓n✓n that is best discovered
  162. by experiment.
  163.  
  164.                         June 3, 1990
  165.  
  166.                            - 4 -
  167.  
  168. Another thing to remember when setting p✓p✓p✓pa✓a✓a✓ac✓c✓c✓